#ifndef GUI_PICTURE
#define GUI_PICTURE

#include "frame.h"
#include "../texture/texture.h"

namespace sleek
{
    namespace gui
    {
        class picture : public frame
        {
            public:
                picture(core::engine::interface*);
                ~picture();
                virtual INTERFACE_GUI_CODE getType() { return IGT_PICTURE; }

                void setTexture(texture::texture*);
                texture::texture* getTexture();

                virtual bool manage(core::device::input*);
                virtual void render();
            private:
                mesh::material rnd;
                texture::texture *pic;
                bool isHovored;
        };
    }
}

#endif

